package me.yuxiaoyao.lock.interceptor;

/**
 * @author kerryzhang on 2020/12/22
 */


public interface ErrorHandler {

    /**
     * error handler
     *
     * @param exception
     * @param key
     */
    void handleDistributedLockError(Throwable exception, Object key);
}
